package practica.arboles;


import org.antlr.runtime.Token;
import org.antlr.runtime.tree.CommonTreeAdaptor;


public class MiArbolAdaptor extends CommonTreeAdaptor {


	public Object create(Token token) {
		return new MiArbol(token);
	}

	public Object dupNode(Object t) {
		if (t == null)
			return null;

		return create(((MiArbol) t).token);
	}

}